package com.heimia.bootpro.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.heima.domain.User;
import com.heima.service.UserService;
import com.heimia.bootpro.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> findAll() {
        return userMapper.findAll();
    }
}
